import { defineComponent } from 'vue'

import type { IconType } from '@/types/Icontsx'

function base(props: IconType): JSX.Element {
  return (
    <svg
      class="icon"
      viewBox="0 0 1024 1024"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      p-id="4367"
      width={props.size}
      height={props.size}
    >
      <path
        d="M665.6 384v-51.2h179.2v51.2h-179.2z m0-153.6h179.2v51.2h-179.2V230.4z"
        fill="currentColor"
        p-id="4368"
      ></path>
      <path
        d="M1024 768V76.8H0v691.2h486.4v128h-128v51.2h307.2v-51.2h-128v-128h486.4zM51.2 128h921.6v588.8H51.2V128z"
        fill="currentColor"
        p-id="4369"
      ></path>
    </svg>
  )
}

export default defineComponent({
  props: {
    size: {
      type: Number,
      default: 24
    }
  },
  render(props: IconType) {
    return base(props)
  }
})
